'''
num=int(input("请输入一个结束的整数"))
i=0
y=0
while i<=num:
  y+=i
  i+=1
print("所有整数的和为%d" %y)
'''
#+++++++++++++++++++++++++++++++++++++++++++++#\

print('X'+'#'*20+'X')
'''
s='abcdefg'
for i in s :
    print("tarena")
'''
s=input("please input str:")
s_he=0
for i in s:
  if i == '=':
    s_he+=1
else:
  print("遍历结束～～～～")
print(f"有{s_he}个等号")
